.tooltip {
    display: block;
    top: 8px;
    left: 47px;
    opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
    font-size: 12px;
    position: absolute;
    .tooltip-inner {
        color: #d9d9d9;
        //background-color: rgba(96, 96, 96, 1);
        background-color: #606060;
        padding: 4px 8px;
        max-width: 200px;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: center;
        border-radius: 3px;
        display: inline-block;
        &:before {
            content: '';
            border-color: transparent;
            border-style: solid;
            position: absolute;
        }
    }
    &.top {
        padding: 5px 0;
        .tooltip-inner:before {
            bottom: 0;
            left: 50%;
            margin-left: -5px;
            border-width: 5px 5px 0 5px;
            border-top-color: #606060;
        }
    }
    &.right {
        padding: 0 5px;
        .tooltip-inner:before {
            top: 50%;
            left: 0;
            margin-top: -5px;
            border-width: 5px 5px 5px 0;
            border-right-color: #606060;
        }
    }
    &.bottom {
        padding: 5px 0;
        .tooltip-inner:before {
            top: 0;
            left: 50%;
            margin-left: -5px;
            border-width: 0 5px 5px 5px;
            border-bottom-color: #606060;
        }
    }
    &.left {
        padding: 0 5px;
        .tooltip-inner:before {
            top: 50%;
            right: 0;
            margin-top: -5px;
            border-width: 5px 0 5px 5px;
            border-left-color: #606060;
        }
    }
}

//显示动画效果
a[data-toggle="tooltip"]:hover+.tooltip {
    opacity: 1;
    filter: alpha(opacity=100);
    z-index: 999;
    visibility: visible;
    transition: opacity 0.23s ease-in 0.4s;
}